<a href="?r=seck/goods_show">商品展示页面</a>
<form action="?r=seck/adddo" method="post">
    <div class="form-group">
        <label for="exampleInputEmail1">商品名称</label>
        <input type="text" class="form-control" id="name" name="name" placeholder="请输入商品名称">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">商品价格</label>
        <input type="text" class="form-control" id="price" name="price" placeholder="请输入商品价格">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">商品库存</label>
        <input type="text" class="form-control" id="stock" name="stock" placeholder="请输入商品库存">
        <input type="hidden" name="_csrf" value="<?php echo Yii::$app->request->csrfToken ?>">
    </div>
    <button type="submit" class="btn btn-default">Submit</button>
</form>